﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lswweb.Model;

namespace Lswweb.IDAL
{
    public interface ILogisticsAccountingDAL
    {
        LogisticsAccountingInfo FindBy(int cityId, int logisticsCompanyId);

        IList<LogisticsAccountingInfo> FindBy();

        IList<LogisticsAccountingInfo> FindBy(int cityId);

        bool IsHas(int cityId,int logisticsCompanyId);

        void Add(LogisticsAccountingInfo entity);

        void Update(LogisticsAccountingInfo entity);

        void Delete(int id);
    }
}
